<?php

class Mensagens {
    var $id_from = null;
    var $id_to = null;
    var $id_msg = null;
    var $msg = null;
    
    function __construct($id_from, $id_to, $msg) {
        $this->id_from = $id_from;
        $this->id_to = $id_to;
        $this->msg = $msg;
    }
    public function getId_from() {
        return $this->id_from;
    }

    public function setId_from($id_from) {
        $this->id_from = $id_from;
    }

    public function getId_to() {
        return $this->id_to;
    }

    public function setId_to($id_to) {
        $this->id_to = $id_to;
    }

    public function getId_msg() {
        return $this->id_msg;
    }

    public function setId_msg($id_msg) {
        $this->id_msg = $id_msg;
    }
    public function getMsg() {
        return $this->msg;
    }

    public function setMsg($msg) {
        $this->msg = $msg;
    }




}

?>
